package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
*  登录记录
* @author laozhang
*/


@Data
@TableName(value = "t_login_record")
@Accessors(chain = true)
public class TLoginRecord {
    @ApiModelProperty("自增id")
    @TableField(value = "auto_id")
    private Long autoId;

    /**
     * 游客id 对应会员表 业务id
     */
    @ApiModelProperty("会员/业务id")
    @TableId(value = "m_id",type = IdType.INPUT)
    private Long mId;

    /**
     * 1注册 2登录
     */
    @ApiModelProperty("1注册 2登录")
    @TableField(value = "login_status")
    private Integer loginStatus;

    @TableField(value = "add_time")
    private Date addTime;
}